//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.CreateTable([['Red Bull B2B','Majestic Theatre - MI','Detroit, MI','Friday','7/11/2025','11:00 PM','7198168','Red-Bull-B2B-7-11-2025'],['Hung Up On A Dream','Majestic Theatre - MI','Detroit, MI','Wednesday','7/16/2025','7:00 PM','7170508','Hung-Up-On-A-Dream-7-16-2025'],['Game Changer Wrestling','Majestic Theatre - MI','Detroit, MI','Thursday','7/17/2025','8:00 PM','7231079','Game-Changer-Wrestling-7-17-2025'],['MC Magic, Baby Bash & Lil Rob','Majestic Theatre - MI','Detroit, MI','Friday','7/25/2025','7:00 PM','7032697','MC-Magic--Baby-Bash---Lil-Rob-7-25-2025'],['Fitz and The Tantrums','Majestic Theatre - MI','Detroit, MI','Saturday','8/9/2025','6:30 PM','7069159','Fitz-and-The-Tantrums-8-9-2025'],['Decisions, Decisions - Podcast','Majestic Theatre - MI','Detroit, MI','Friday','9/5/2025','7:00 PM','7092243','Decisions--Decisions---Podcast-9-5-2025'],['BUNT.','Majestic Theatre - MI','Detroit, MI','Tuesday','9/9/2025','7:00 PM','7242070','BUNT--9-9-2025'],['Brian Jonestown Massacre','Majestic Theatre - MI','Detroit, MI','Wednesday','9/17/2025','7:00 PM','7035359','Brian-Jonestown-Massacre-9-17-2025'],['James','Majestic Theatre - MI','Detroit, MI','Thursday','9/18/2025','7:00 PM','7139434','James-9-18-2025'],['The 502s','Majestic Theatre - MI','Detroit, MI','Friday','9/19/2025','7:00 PM','7212178','The-502s-9-19-2025'],['Nation of Language','Majestic Theatre - MI','Detroit, MI','Tuesday','9/23/2025','7:00 PM','7155475','Nation-of-Language-9-23-2025'],['Samantha Bee','Majestic Theatre - MI','Detroit, MI','Wednesday','9/24/2025','7:30 PM','7155223','Samantha-Bee-9-24-2025'],['SG Lewis','Majestic Theatre - MI','Detroit, MI','Friday','9/26/2025','7:00 PM','7225062','SG-Lewis-9-26-2025'],['Deltron 3030','Majestic Theatre - MI','Detroit, MI','Saturday','9/27/2025','7:00 PM','7106852','Deltron-3030-9-27-2025'],['Gottmik vs. Violet Chachki','Majestic Theatre - MI','Detroit, MI','Sunday','9/28/2025','6:00 PM','7251843','Gottmik-vs--Violet-Chachki-9-28-2025'],['The Mountain Goats','Majestic Theatre - MI','Detroit, MI','Monday','9/29/2025','7:00 PM','7155226','The-Mountain-Goats-9-29-2025'],['Iniko','Majestic Theatre - MI','Detroit, MI','Friday','10/3/2025','7:00 PM','7106695','Iniko-10-3-2025'],['Cash Cobain','Majestic Theatre - MI','Detroit, MI','Saturday','10/4/2025','7:00 PM','7233026','Cash-Cobain-10-4-2025'],['Rico Nasty','Majestic Theatre - MI','Detroit, MI','Tuesday','10/7/2025','8:00 PM','7203459','Rico-Nasty-10-7-2025'],['Sons of the East','Majestic Theatre - MI','Detroit, MI','Thursday','10/16/2025','7:00 PM','7059374','Sons-of-the-East-10-16-2025'],['Sir Chloe','Majestic Theatre - MI','Detroit, MI','Saturday','10/18/2025','7:00 PM','7235955','Sir-Chloe-10-18-2025'],['Borns','Majestic Theatre - MI','Detroit, MI','Friday','10/24/2025','7:00 PM','7194595','Borns-10-24-2025'],['Welcome To Night Vale','Majestic Theatre - MI','Detroit, MI','Friday','10/31/2025','7:00 PM','7071187','Welcome-To-Night-Vale-10-31-2025'],['Grandson','Majestic Theatre - MI','Detroit, MI','Tuesday','11/4/2025','7:00 PM','7214021','Grandson-11-4-2025'],['Michigander','Majestic Theatre - MI','Detroit, MI','Wednesday','11/5/2025','7:00 PM','7157794','Michigander-11-5-2025'],['Thrice','Majestic Theatre - MI','Detroit, MI','Saturday','11/8/2025','6:30 PM','7235742','Thrice-11-8-2025'],['Minus The Bear','Majestic Theatre - MI','Detroit, MI','Friday','11/14/2025','7:00 PM','7034977','Minus-The-Bear-11-14-2025'],['Psychedelic Porn Crumpets','Majestic Theatre - MI','Detroit, MI','Saturday','11/15/2025','7:00 PM','7235558','Psychedelic-Porn-Crumpets-11-15-2025'],['Wednesday - Band','Majestic Theatre - MI','Detroit, MI','Sunday','11/16/2025','7:00 PM','7194591','Wednesday---Band-11-16-2025'],['The Elovaters','Majestic Theatre - MI','Detroit, MI','Thursday','12/4/2025','7:00 PM','7235748','The-Elovaters-12-4-2025']],'Majestic Theatre Detroit','http://www.ticketnetwork.com/ticket/Majestic-Theatre-Detroit-events.aspx');